<?hh // strict
// Copyright 2004-present Facebook. All Rights Reserved.

function dyn(): dynamic { return () ==> 4; }

function f(): (function (): string) {
  return dyn(); // error
}
